<?php


namespace App\Entity\Member;


use App\Entity\BaseEntity;

/**
 * Class RaceQo
 * @package App\Entity\Member
 * @property string $name
 * @property int $mode
 * @property int $seconds
 * @property int $num
 * @property int $roundNum
 * @property int $passNum
 * @property int $excelNum
 * @property int $status
 * @property array $player
 */
class RaceDto extends BaseEntity
{
    public function rules(): array
    {
        return [
            'name' => 'required',
        ];
    }

    public function messages(): array
    {
        return [
            'name.required' => '参数不全',
        ];
    }
}
